/**********************************************************************************************************************
 *  COPYRIGHT
 *  -------------------------------------------------------------------------------------------------------------------
 *
 *                This software is copyright protected and proprietary to Vector Informatik GmbH.
 *                Vector Informatik GmbH grants to you only those rights as set out in the license conditions.
 *                All other rights remain with Vector Informatik GmbH.
 *  -------------------------------------------------------------------------------------------------------------------
 *  FILE DESCRIPTION
 *  -------------------------------------------------------------------------------------------------------------------
 *          File:  Rte_CtApVersion.h
 *        Config:  D:/Projects/Amp/03_Software/SIP_S32K14X/Application/SipAddon/S32K144_Handle_DEMO/S32K144_Start.dpa
 *     SW-C Type:  CtApVersion
 *  Generated at:  Thu Apr 25 17:23:01 2024
 *
 *     Generator:  MICROSAR RTE Generator Version 4.19.0
 *                 RTE Core Version 1.19.0
 *       License:  CBD1800257
 *
 *   Description:  Application header file for SW-C <CtApVersion> (Contract Phase)
 *********************************************************************************************************************/

/* double include prevention */
#ifndef _RTE_CTAPVERSION_H
# define _RTE_CTAPVERSION_H

# ifdef RTE_APPLICATION_HEADER_FILE
#  error Multiple application header files included.
# endif
# define RTE_APPLICATION_HEADER_FILE
# ifndef RTE_PTR2ARRAYBASETYPE_PASSING
#  define RTE_PTR2ARRAYBASETYPE_PASSING
# endif

# ifdef __cplusplus
extern "C"
{
# endif /* __cplusplus */

/* include files */

# include "Rte_CtApVersion_Type.h"
# include "Rte_DataHandleType.h"


/**********************************************************************************************************************
 * Component Data Structures and Port Data Structures
 *********************************************************************************************************************/

struct Rte_CDS_CtApVersion
{
  /* dummy entry */
  uint8 _dummy;
};

# define RTE_START_SEC_CONST_UNSPECIFIED
# include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */

extern CONSTP2CONST(struct Rte_CDS_CtApVersion, RTE_CONST, RTE_CONST) Rte_Inst_CtApVersion; /* PRQA S 0850 */ /* MD_MSR_19.8 */

# define RTE_STOP_SEC_CONST_UNSPECIFIED
# include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */

typedef P2CONST(struct Rte_CDS_CtApVersion, TYPEDEF, RTE_CONST) Rte_Instance;


# define CtApVersion_START_SEC_CODE
# include "CtApVersion_MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */


/**********************************************************************************************************************
 *
 * Runnable Entity Name: RCtApVersion_Init
 *
 *---------------------------------------------------------------------------------------------------------------------
 *
 * Executed once after the RTE is started
 *
 *********************************************************************************************************************/

# define RTE_RUNNABLE_RCtApVersion_Init Version_Init
FUNC(void, CtApVersion_CODE) Version_Init(void); /* PRQA S 0850 */ /* MD_MSR_19.8 */

/**********************************************************************************************************************
 *
 * Runnable Entity Name: RCtApVersion_ReadVersion
 *
 *---------------------------------------------------------------------------------------------------------------------
 *
 * Executed if at least one of the following trigger conditions occurred:
 *   - triggered by server invocation for OperationPrototype <ReadVersion> of PortPrototype <PpVersionInterface>
 *
 **********************************************************************************************************************
 *
 * Runnable prototype:
 * ===================
 *   void Version_ReadVersion(const IdtVersionInfo *Info)
 *
 *********************************************************************************************************************/

# define RTE_RUNNABLE_RCtApVersion_ReadVersion Version_ReadVersion
FUNC(void, CtApVersion_CODE) Version_ReadVersion(P2CONST(IdtVersionInfo, AUTOMATIC, RTE_CTAPVERSION_APPL_DATA) Info); /* PRQA S 0850 */ /* MD_MSR_19.8 */

# define CtApVersion_STOP_SEC_CODE
# include "CtApVersion_MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */

# ifdef __cplusplus
} /* extern "C" */
# endif /* __cplusplus */

#endif /* _RTE_CTAPVERSION_H */
